package FrameWork.PathFinding;

public class Node{
	private int x,y,value,H;
	private boolean liveing = false;
	public Node(int x,int y,int value){
		setX(x);
		setY(y);
		setValue(value);
	}
	public Node(){
		setX(0);
		setY(0);
		setValue(0);
	}
	public void setX(int x){
		this.x=x;
	}
	public void setY(int y){
		this.y=y;
	}
	public int getX(){
		return x;
	}
	public int getY(){
		return y;
	}
	public int getValue(){
		return value;
	}
	public void setValue(int value){
		this.value=value;
	}
	public void setH(int H){
		this.H = H;
	}
	public int getH(){
		return H;
	}
	public boolean isLiveing(){
		return liveing;
	}
	protected void setLiveing(boolean liveing){
		this.liveing=liveing;
	}
	public void setNode(int value){
		this.value=value;
	}
}
